﻿using Coldairarrow.Entity;
using Coldairarrow.Util;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business
{
    public interface IOrder_DecimalBusiness
    {
        Task<PageResult<Order_Decimal>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<Order_Decimal> GetTheDataAsync(string id);
        Task AddDataAsync(Order_Decimal data);
        Task UpdateDataAsync(Order_Decimal data);
        Task DeleteDataAsync(List<string> ids);
    }
    public class Order_DecimalDto
    {
        public String Id { get; set; }

        /// <summary>
        /// CreatorId
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// CreateTime
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// Deleted
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 订单编号
        /// </summary>
        public String OrderCode { get; set; }

        /// <summary>
        /// 订单主表Id
        /// </summary>
        public String OrderMaster_Id { get; set; }

        /// <summary>
        /// 产品Id
        /// </summary>
        public String Products_Id { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public Decimal? Products_Num { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

    }
}